<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <div class="datalist"><table id="flexigrid" style="display:none"></table></div>
        <script type="text/javascript">
            $(function() {
                $("#flexigrid").flexigrid($.extend(SG.flexOptions, {
                    url: '<?= site_url('log_role/rolecreate/flexigrid') ?>',
                    colModel: 
                    [
						{display: '<?= translate('LOG_ROLE_ID') ?>', name: 'id', width: '100', process: formatSearch},
						{display: '<?= translate('LOG_ROLE_PLATFORMID') ?>', name: 'platform_id', width: '100'},
                        {display: '<?= translate('LOG_ROLE_ROLECREATE_SERVERID') ?>', name: 'server_id', width: '100'},
                        {display: '<?= translate('LOG_ROLE_ROLECREATE_ROLEID') ?>', name: 'role_id', width: '100'},
                        {display: '<?= translate('LOG_ROLE_ROLECREATE_PROFESSIONTYPE') ?>', name: 'profession_type', width: '100'},
                        {display: '<?= translate('LOG_ROLE_ROLECREATE_ROLENAME') ?>', name: 'rolename', width: '150'},
                        {display: '<?= translate('LOG_ROLE_ROLECREATE_ALLSERVERROLE') ?>', name: 'all_server_role', width: '100'},
                        {display: '<?= translate('LOG_ROLE_ROLECREATE_ACCOUNTINVOLVESERVER') ?>', name: 'account_involveserver', width: '100'},
                        {display: '<?= translate('LOG_ROLE_ROLECREATE_ACCOUNT') ?>', name: 'account', width: '150'},
                        {display: '<?= translate('LOG_ROLE_ROLECREATE_ISRAND') ?>', name: 'is_rand', width: '100'},
                        {display: '<?= translate('LOG_ROLE_OPERATIONTIME') ?>', name: 'operation_time', width: '150'},
                    ],
		    		buttons: [{name: 'export', displayname: "<?= translate('EXPORT') ?>", bclass: 'export', onpress: multi},,{separator: true}],
                }));                
            });
        </script>
    </body>
</html>